Toggle the accepting order status
PUT /api/v1/businesses/:businessId/accepting-order
Description
Toggle the accepting order status for a business.
Request:
- Authentication:
- Type: Bearer Token
- Token:
{{bearerToken}}(Replace with the actual bearer token)
- URL:
- Raw URL:
/api/v1/businesses/:businessId/accepting-order - Host:
- Path:
/api/v1/businesses/:businessId/accepting-order - Variables:
- businessId: (Required)
- Raw URL:
Response:
- Status: OK (200)
/api/v1/businesses/:businessId/accepting-order
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/businesses/:businessId/accepting-order \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!